//注销功能
function  logout(){
       //1.删除后端信息
       if(confirm("是否确定注销？")){
        jQuery.ajax({
            url:"/user/logout",
            type:"POST",
            data:{},
            success:function(res){}

            
    });
    //2.跳转登录页
    location.href  = "login.html";
       }
       
}